package d1130.r2143num17;

import com.sun.org.apache.xerces.internal.impl.xpath.regex.RegularExpression;
import jdk.nashorn.internal.parser.DateParser;

import java.util.Scanner;

public class Demo06 {
    public static void main(String[] args) {
        System.out.println("请输入用户名");//长度至少是6，只允许数字和字母、w
        /*Scanner sc=new Scanner(System.in);
        String phone =sc.next();
        System.out.println(phone.matches("\\d{11}"));
        if (name.matches("\\w{6,}")){
            System.out.println("用户名格式符合要求");
        }else{
            System.out.println("用户名格式有误");
        }


       // System.out.println("mba.matches("[a-z]{2,}"));
    }*/


}}
